package com.lanqiao.gxnushop.valueObject;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Date;

@Schema(description ="商品表")
@Data
public class ProductsF
{
    @Schema(description = "唯一标识商品")
    private String productId;

    @Schema(description = "关联 stores 表，标识商品的店铺")
    private String storeId;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品描述")
    private String description;

    @Schema(description = "商品价格")
    private String price;

    @Schema(description = "商品库存数量")
    private String stock;

    @Schema(description = "商品分类")
    private String goodsCategory;

    @Schema(description = "商品图片URL")
    private String imageUrl;

    @Schema(description = "商品创建时间")
    private Date zcsj;

    @Schema(description = "0未上架、1上架")
    private String state;

    @Schema(description = "卖家的id")
    private String sellerId;
}

